package org.cuatrovientos.struts;
/**
 * 
 */


/**
 * Represents data from a Car
 * @author Pablo_guerrero
 *
 */
public class Car {
	private int id;
	private String brand;
	private String plate;
	
	/**
	 * default constructor
	 */
	public Car () {
		
	}
	public Car(String brand, String plate){
		this.brand = brand;
		this.plate = plate;
	}
	/**
	 * Constructor with all attributes
	 * @param id
	 * @param brand
	 * @param plate
	 */
	public Car(int id, String brand, String plate) {
		this.id = id;
		this.brand = brand;
		this.plate = plate;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getBrand() {
		return brand;
	}

	/**
	 * @param brand the name to set
	 */
	public void setBrand(String brand) {
		this.brand = brand;
	}

	/**
	 * @return the description
	 */
	public String getPlate() {
		return plate;
	}

	/**
	 * @param plate the description to set
	 */
	public void setPlate(String plate) {
		this.plate = plate;
	}


	
	
	
}
